package com.baidu.foodrecipe.data.local

import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
import com.baidu.foodrecipe.data.local.entity.FavoriteEntity
import com.baidu.foodrecipe.data.local.entity.RecipesEntity

@TypeConverters(FoodRecipeConverter::class)
@Database(entities = [RecipesEntity::class, FavoriteEntity::class], version = 1)
abstract class RecipeDatabase : RoomDatabase(){
    abstract fun getRecipeDao(): RecipesDao
}